#!/usr/bin/python
# -*- coding: utf-8 -*-
n=input()

sum=0
max=0
tmp=0
fg=0
li=map(int,raw_input().split())
for i in range(len(li)-1):
    tmp=li[i+1]
    if tmp>max:
        max=tmp
    li[i]=tmp
    sum+=tmp
    if 2*max>sum:
        fg+=1
        print "No"
        break
if fg==0:
    print "Yes"